
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module Asterisk.Manager</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="Asterisk.html"><font color="#ffffff">Asterisk</font></a>.Manager</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/src/ks-voip/py-asterisk/Asterisk/Manager.py">/usr/src/ks-voip/py-asterisk/Asterisk/Manager.py</a></font></td></tr></table>
    <p><tt>Asterisk&nbsp;<a href="#Manager">Manager</a>&nbsp;and&nbsp;Channel&nbsp;objects.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="Asterisk.html">Asterisk</a><br>
<a href="errno.html">errno</a><br>
</td><td width="25%" valign=top><a href="logging.html">logging</a><br>
<a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="socket.html">socket</a><br>
<a href="time.html">time</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="Asterisk.html#BaseException">Asterisk.BaseException</a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#BaseException">BaseException</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#ActionFailed">ActionFailed</a>
</font></dt><dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#AuthenticationFailure">AuthenticationFailure</a>
</font></dt><dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#CommunicationError">CommunicationError</a>
</font></dt><dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#GoneAwayError">GoneAwayError</a>
</font></dt><dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#InternalError">InternalError</a>
</font></dt><dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#PermissionDenied">PermissionDenied</a>
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#BaseChannel">BaseChannel</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#ZapChannel">ZapChannel</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#BaseManager">BaseManager</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#CoreManager">CoreManager</a>(<a href="Asterisk.Manager.html#BaseManager">BaseManager</a>, <a href="Asterisk.Manager.html#CoreActions">CoreActions</a>, <a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a>)
</font></dt><dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#Manager">Manager</a>(<a href="Asterisk.Manager.html#BaseManager">BaseManager</a>, <a href="Asterisk.Manager.html#CoreActions">CoreActions</a>, <a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a>)
</font></dt></dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#CoreActions">CoreActions</a>
</font></dt><dt><font face="helvetica, arial"><a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ActionFailed">class <strong>ActionFailed</strong></a>(<a href="Asterisk.Manager.html#BaseException">BaseException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>This&nbsp;exception&nbsp;is&nbsp;raised&nbsp;when&nbsp;a&nbsp;PBX&nbsp;action&nbsp;fails.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#ActionFailed">ActionFailed</a></dd>
<dd><a href="Asterisk.Manager.html#BaseException">BaseException</a></dd>
<dd><a href="Asterisk.html#BaseException">Asterisk.BaseException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.html#BaseException">Asterisk.BaseException</a>:<br>
<dl><dt><a name="ActionFailed-__init__"><strong>__init__</strong></a>(self, error)</dt></dl>

<dl><dt><a name="ActionFailed-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="ActionFailed-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="AuthenticationFailure">class <strong>AuthenticationFailure</strong></a>(<a href="Asterisk.Manager.html#BaseException">BaseException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>This&nbsp;exception&nbsp;is&nbsp;raised&nbsp;when&nbsp;authentication&nbsp;to&nbsp;the&nbsp;PBX&nbsp;instance&nbsp;fails.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#AuthenticationFailure">AuthenticationFailure</a></dd>
<dd><a href="Asterisk.Manager.html#BaseException">BaseException</a></dd>
<dd><a href="Asterisk.html#BaseException">Asterisk.BaseException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.html#BaseException">Asterisk.BaseException</a>:<br>
<dl><dt><a name="AuthenticationFailure-__init__"><strong>__init__</strong></a>(self, error)</dt></dl>

<dl><dt><a name="AuthenticationFailure-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="AuthenticationFailure-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BaseChannel">class <strong>BaseChannel</strong></a>(<a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Represents&nbsp;a&nbsp;living&nbsp;Asterisk&nbsp;channel,&nbsp;with&nbsp;shortcut&nbsp;methods&nbsp;for&nbsp;operating<br>
on&nbsp;it.&nbsp;The&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;acts&nbsp;as&nbsp;a&nbsp;mapping,&nbsp;ie.&nbsp;you&nbsp;may&nbsp;get&nbsp;and&nbsp;set&nbsp;items&nbsp;of&nbsp;it.<br>
This&nbsp;translates&nbsp;to&nbsp;Getvar&nbsp;and&nbsp;Setvar&nbsp;actions&nbsp;on&nbsp;the&nbsp;channel.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#BaseChannel">BaseChannel</a></dd>
<dd><a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="BaseChannel-AbsoluteTimeout"><strong>AbsoluteTimeout</strong></a>(self, timeout)</dt><dd><tt>Set&nbsp;the&nbsp;absolute&nbsp;timeout&nbsp;of&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;timeout&gt;.</tt></dd></dl>

<dl><dt><a name="BaseChannel-ChangeMonitor"><strong>ChangeMonitor</strong></a>(self, pathname)</dt><dd><tt>Change&nbsp;the&nbsp;monitor&nbsp;filename&nbsp;of&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;pathname&gt;.</tt></dd></dl>

<dl><dt><a name="BaseChannel-Getvar"><strong>Getvar</strong></a>(self, variable, default<font color="#909090">=&lt;Asterisk.Util.Unspecified&gt;</font>)</dt><dd><tt>Return&nbsp;the&nbsp;value&nbsp;of&nbsp;this&nbsp;channel's&nbsp;&lt;variable&gt;,&nbsp;or&nbsp;&lt;default&gt;&nbsp;if&nbsp;variable<br>
is&nbsp;not&nbsp;set.</tt></dd></dl>

<dl><dt><a name="BaseChannel-Hangup"><strong>Hangup</strong></a>(self)</dt><dd><tt>Hangup&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="BaseChannel-Monitor"><strong>Monitor</strong></a>(self, pathname, format, mix)</dt><dd><tt>Begin&nbsp;monitoring&nbsp;of&nbsp;this&nbsp;channel&nbsp;into&nbsp;&lt;pathname&gt;&nbsp;using&nbsp;&lt;format&gt;.</tt></dd></dl>

<dl><dt><a name="BaseChannel-Redirect"><strong>Redirect</strong></a>(self, context, extension<font color="#909090">='s'</font>, priority<font color="#909090">=1</font>, channel2<font color="#909090">=None</font>)</dt><dd><tt>Redirect&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;priority&gt;&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;,<br>
optionally&nbsp;bridging&nbsp;with&nbsp;&lt;channel2&gt;.</tt></dd></dl>

<dl><dt><a name="BaseChannel-SetCDRUserField"><strong>SetCDRUserField</strong></a>(self, data, append<font color="#909090">=False</font>)</dt><dd><tt>Append&nbsp;or&nbsp;replace&nbsp;this&nbsp;channel's&nbsp;CDR&nbsp;user&nbsp;field&nbsp;with&nbsp;&lt;data&gt;.</tt></dd></dl>

<dl><dt><a name="BaseChannel-Setvar"><strong>Setvar</strong></a>(self, variable, value)</dt><dd><tt>Set&nbsp;the&nbsp;&lt;variable&gt;&nbsp;in&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;value&gt;.</tt></dd></dl>

<dl><dt><a name="BaseChannel-Status"><strong>Status</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;<a href="#BaseChannel-Status">Status</a>()&nbsp;dict&nbsp;for&nbsp;this&nbsp;channel&nbsp;(wasteful!).</tt></dd></dl>

<dl><dt><a name="BaseChannel-StopMonitor"><strong>StopMonitor</strong></a>(self)</dt><dd><tt>Stop&nbsp;monitoring&nbsp;of&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="BaseChannel-__eq__"><strong>__eq__</strong></a>(self, other)</dt><dd><tt>Return&nbsp;truth&nbsp;if&nbsp;&lt;other&gt;&nbsp;is&nbsp;equal&nbsp;to&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>

<dl><dt><a name="BaseChannel-__getitem__"><strong>__getitem__</strong></a>(self, key)</dt><dd><tt>Fetch&nbsp;&lt;key&gt;&nbsp;as&nbsp;a&nbsp;variable&nbsp;from&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="BaseChannel-__hash__"><strong>__hash__</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;hash&nbsp;value&nbsp;of&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="BaseChannel-__init__"><strong>__init__</strong></a>(self, manager, id)</dt><dd><tt>Initialise&nbsp;a&nbsp;new&nbsp;Channel&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;belonging&nbsp;to&nbsp;&lt;id&gt;&nbsp;reachable&nbsp;via<br>
<a href="#BaseManager">BaseManager</a>&nbsp;&lt;manager&gt;.</tt></dd></dl>

<dl><dt><a name="BaseChannel-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>

<dl><dt><a name="BaseChannel-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt><dd><tt>Set&nbsp;&lt;key&gt;&nbsp;as&nbsp;a&nbsp;variable&nbsp;on&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="BaseChannel-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><a name="BaseChannel-getLogger"><strong>getLogger</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;Logger&nbsp;instance&nbsp;which&nbsp;receives&nbsp;debug&nbsp;messages&nbsp;for&nbsp;this&nbsp;class<br>
instance.</tt></dd></dl>

<dl><dt><a name="BaseChannel-getLoggerName"><strong>getLoggerName</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;name&nbsp;where&nbsp;log&nbsp;messages&nbsp;for&nbsp;this&nbsp;instance&nbsp;is&nbsp;sent.</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'InstanceLogger' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BaseException">class <strong>BaseException</strong></a>(<a href="Asterisk.html#BaseException">Asterisk.BaseException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Base&nbsp;class&nbsp;for&nbsp;all&nbsp;Asterisk&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;exceptions.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#BaseException">BaseException</a></dd>
<dd><a href="Asterisk.html#BaseException">Asterisk.BaseException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.html#BaseException">Asterisk.BaseException</a>:<br>
<dl><dt><a name="BaseException-__init__"><strong>__init__</strong></a>(self, error)</dt></dl>

<dl><dt><a name="BaseException-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="BaseException-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="BaseManager">class <strong>BaseManager</strong></a>(<a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Base&nbsp;protocol&nbsp;implementation&nbsp;for&nbsp;the&nbsp;Asterisk&nbsp;<a href="#Manager">Manager</a>&nbsp;API.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#BaseManager">BaseManager</a></dd>
<dd><a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="BaseManager-__init__"><strong>__init__</strong></a>(self, address, username, secret, listen_events<font color="#909090">=True</font>)</dt><dd><tt>Provide&nbsp;communication&nbsp;methods&nbsp;for&nbsp;the&nbsp;PBX&nbsp;instance&nbsp;running&nbsp;at<br>
&lt;address&gt;.&nbsp;Authenticate&nbsp;using&nbsp;&lt;username&gt;&nbsp;and&nbsp;&lt;secret&gt;.&nbsp;Receive&nbsp;event<br>
information&nbsp;from&nbsp;the&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;if&nbsp;&lt;listen_events&gt;&nbsp;is&nbsp;True.</tt></dd></dl>

<dl><dt><a name="BaseManager-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;string&nbsp;representation&nbsp;of&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>

<dl><dt><a name="BaseManager-close"><strong>close</strong></a>(self)</dt><dd><tt>Log&nbsp;off&nbsp;and&nbsp;close&nbsp;the&nbsp;connection&nbsp;to&nbsp;the&nbsp;PBX.</tt></dd></dl>

<dl><dt><a name="BaseManager-get_channel"><strong>get_channel</strong></a>(self, channel_id)</dt><dd><tt>Return&nbsp;a&nbsp;channel&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;for&nbsp;the&nbsp;given&nbsp;&lt;channel_id&gt;.</tt></dd></dl>

<dl><dt><a name="BaseManager-on_Event"><strong>on_Event</strong></a>(self, event)</dt><dd><tt>Triggered&nbsp;when&nbsp;an&nbsp;event&nbsp;is&nbsp;received&nbsp;from&nbsp;the&nbsp;<a href="#Manager">Manager</a>.</tt></dd></dl>

<dl><dt><a name="BaseManager-read"><strong>read</strong></a>(self)</dt><dd><tt>Called&nbsp;by&nbsp;the&nbsp;parent&nbsp;code&nbsp;when&nbsp;activity&nbsp;is&nbsp;detected&nbsp;on&nbsp;our&nbsp;fd.</tt></dd></dl>

<dl><dt><a name="BaseManager-read_response"><strong>read_response</strong></a>(self, id)</dt><dd><tt>Return&nbsp;the&nbsp;response&nbsp;packet&nbsp;found&nbsp;for&nbsp;the&nbsp;given&nbsp;action&nbsp;&lt;id&gt;.</tt></dd></dl>

<dl><dt><a name="BaseManager-responses_waiting"><strong>responses_waiting</strong></a>(self)</dt><dd><tt>Return&nbsp;truth&nbsp;if&nbsp;there&nbsp;are&nbsp;unprocessed&nbsp;buffered&nbsp;responses.</tt></dd></dl>

<dl><dt><a name="BaseManager-serve_forever"><strong>serve_forever</strong></a>(self)</dt><dd><tt>Handle&nbsp;one&nbsp;event&nbsp;at&nbsp;a&nbsp;time&nbsp;until&nbsp;doomsday.</tt></dd></dl>

<dl><dt><a name="BaseManager-strip_evinfo"><strong>strip_evinfo</strong></a>(self, event)</dt><dd><tt>Given&nbsp;an&nbsp;event,&nbsp;remove&nbsp;it's&nbsp;ActionID&nbsp;and&nbsp;Event&nbsp;members.</tt></dd></dl>

<hr>
Methods inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><a name="BaseManager-getLogger"><strong>getLogger</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;Logger&nbsp;instance&nbsp;which&nbsp;receives&nbsp;debug&nbsp;messages&nbsp;for&nbsp;this&nbsp;class<br>
instance.</tt></dd></dl>

<dl><dt><a name="BaseManager-getLoggerName"><strong>getLoggerName</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;name&nbsp;where&nbsp;log&nbsp;messages&nbsp;for&nbsp;this&nbsp;instance&nbsp;is&nbsp;sent.</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'InstanceLogger' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CommunicationError">class <strong>CommunicationError</strong></a>(<a href="Asterisk.Manager.html#BaseException">BaseException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>This&nbsp;exception&nbsp;is&nbsp;raised&nbsp;when&nbsp;the&nbsp;PBX&nbsp;responds&nbsp;in&nbsp;an&nbsp;unexpected&nbsp;manner.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#CommunicationError">CommunicationError</a></dd>
<dd><a href="Asterisk.Manager.html#BaseException">BaseException</a></dd>
<dd><a href="Asterisk.html#BaseException">Asterisk.BaseException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="CommunicationError-__init__"><strong>__init__</strong></a>(self, packet, msg<font color="#909090">=None</font>)</dt></dl>

<hr>
Methods inherited from <a href="Asterisk.html#BaseException">Asterisk.BaseException</a>:<br>
<dl><dt><a name="CommunicationError-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="CommunicationError-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CoreActions">class <strong>CoreActions</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Provide&nbsp;methods&nbsp;for&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;actions&nbsp;exposed&nbsp;by&nbsp;the&nbsp;core&nbsp;Asterisk<br>
engine.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="CoreActions-AbsoluteTimeout"><strong>AbsoluteTimeout</strong></a>(self, channel, timeout)</dt><dd><tt>Set&nbsp;the&nbsp;absolute&nbsp;timeout&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;timeout&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-ChangeMonitor"><strong>ChangeMonitor</strong></a>(self, channel, pathname)</dt><dd><tt>Change&nbsp;the&nbsp;monitor&nbsp;filename&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;pathname&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-Command"><strong>Command</strong></a>(self, command)</dt><dd><tt>Execute&nbsp;console&nbsp;command&nbsp;&lt;command&gt;&nbsp;and&nbsp;return&nbsp;its&nbsp;output&nbsp;lines.</tt></dd></dl>

<dl><dt><a name="CoreActions-Events"><strong>Events</strong></a>(self, categories)</dt><dd><tt>Filter&nbsp;received&nbsp;events&nbsp;to&nbsp;only&nbsp;those&nbsp;in&nbsp;the&nbsp;list&nbsp;&lt;categories&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-ExtensionState"><strong>ExtensionState</strong></a>(self, context, extension)</dt><dd><tt>Return&nbsp;the&nbsp;state&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-Getvar"><strong>Getvar</strong></a>(self, channel, variable, default<font color="#909090">=&lt;Asterisk.Util.Unspecified&gt;</font>)</dt><dd><tt>Return&nbsp;the&nbsp;value&nbsp;of&nbsp;&lt;channel&gt;'s&nbsp;&lt;variable&gt;,&nbsp;or&nbsp;&lt;default&gt;&nbsp;if&nbsp;&lt;variable&gt;<br>
is&nbsp;not&nbsp;set.</tt></dd></dl>

<dl><dt><a name="CoreActions-Hangup"><strong>Hangup</strong></a>(self, channel)</dt><dd><tt>Hangup&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-ListCommands"><strong>ListCommands</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;dict&nbsp;of&nbsp;all&nbsp;available&nbsp;&lt;action&gt;&nbsp;=&gt;&nbsp;&lt;desc&gt;&nbsp;items.</tt></dd></dl>

<dl><dt><a name="CoreActions-Logoff"><strong>Logoff</strong></a>(self)</dt><dd><tt>Close&nbsp;the&nbsp;connection&nbsp;to&nbsp;the&nbsp;PBX.</tt></dd></dl>

<dl><dt><a name="CoreActions-MailboxCount"><strong>MailboxCount</strong></a>(self, mailbox)</dt><dd><tt>Return&nbsp;a&nbsp;(&lt;new_msgs&gt;,&nbsp;&lt;old_msgs&gt;)&nbsp;tuple&nbsp;for&nbsp;the&nbsp;given&nbsp;&lt;mailbox&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-MailboxStatus"><strong>MailboxStatus</strong></a>(self, mailbox)</dt><dd><tt>Return&nbsp;the&nbsp;number&nbsp;of&nbsp;messages&nbsp;in&nbsp;&lt;mailbox&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-Monitor"><strong>Monitor</strong></a>(self, channel, pathname, format, mix)</dt><dd><tt>Begin&nbsp;monitoring&nbsp;of&nbsp;&lt;channel&gt;&nbsp;into&nbsp;&lt;pathname&gt;&nbsp;using&nbsp;&lt;format&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-Originate"><strong>Originate</strong></a>(self, channel, context<font color="#909090">=None</font>, extension<font color="#909090">=None</font>, priority<font color="#909090">=None</font>, application<font color="#909090">=None</font>, data<font color="#909090">=None</font>, timeout<font color="#909090">=None</font>, caller_id<font color="#909090">=None</font>, variable<font color="#909090">=None</font>, account<font color="#909090">=None</font>, async<font color="#909090">=None</font>)</dt><dd><tt><a href="#CoreActions-Originate">Originate</a>(channel,&nbsp;context&nbsp;=&nbsp;..,&nbsp;extension&nbsp;=&nbsp;..,&nbsp;priority&nbsp;=&nbsp;..[,&nbsp;...])<br>
<a href="#CoreActions-Originate">Originate</a>(channel,&nbsp;application&nbsp;=&nbsp;..[,&nbsp;data&nbsp;=&nbsp;..[,&nbsp;...]])<br>
&nbsp;<br>
Originate&nbsp;a&nbsp;call&nbsp;on&nbsp;&lt;channel&gt;,&nbsp;bridging&nbsp;it&nbsp;to&nbsp;the&nbsp;specified&nbsp;dialplan<br>
extension&nbsp;(format&nbsp;1)&nbsp;or&nbsp;application&nbsp;(format&nbsp;2).<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;context&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dialplan&nbsp;context&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;extension&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context&nbsp;extension&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context&nbsp;priority&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;application&gt;&nbsp;&nbsp;&nbsp;Application&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;data&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application&nbsp;parameters.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;timeout&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer&nbsp;timeout&nbsp;for&nbsp;&lt;channel&gt;&nbsp;in&nbsp;milliseconds.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;caller_id&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Outgoing&nbsp;channel&nbsp;Caller&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;channel&nbsp;variable&nbsp;to&nbsp;set&nbsp;(K=V[|K2=V2[|..]]).<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;account&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDR&nbsp;account&nbsp;code.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;async&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return&nbsp;successfully&nbsp;immediately.</tt></dd></dl>

<dl><dt><a name="CoreActions-Originate2"><strong>Originate2</strong></a>(self, channel, parameters)</dt><dd><tt>Originate&nbsp;a&nbsp;call,&nbsp;using&nbsp;parameters&nbsp;in&nbsp;the&nbsp;mapping&nbsp;&lt;parameters&gt;.<br>
Provided&nbsp;for&nbsp;compatibility&nbsp;with&nbsp;RPC&nbsp;bridges&nbsp;that&nbsp;do&nbsp;not&nbsp;support&nbsp;keyword<br>
arguments.</tt></dd></dl>

<dl><dt><a name="CoreActions-ParkedCalls"><strong>ParkedCalls</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;currently&nbsp;parked&nbsp;calls.</tt></dd></dl>

<dl><dt><a name="CoreActions-Ping"><strong>Ping</strong></a>(self)</dt><dd><tt>No-op&nbsp;to&nbsp;ensure&nbsp;the&nbsp;PBX&nbsp;is&nbsp;still&nbsp;there&nbsp;and&nbsp;keep&nbsp;the&nbsp;connection&nbsp;alive.</tt></dd></dl>

<dl><dt><a name="CoreActions-QueueAdd"><strong>QueueAdd</strong></a>(self, queue, interface, penalty<font color="#909090">=0</font>)</dt><dd><tt>Add&nbsp;&lt;interface&gt;&nbsp;to&nbsp;&lt;queue&gt;&nbsp;with&nbsp;optional&nbsp;&lt;penalty&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-QueueRemove"><strong>QueueRemove</strong></a>(self, queue, interface)</dt><dd><tt>Remove&nbsp;&lt;interface&gt;&nbsp;from&nbsp;&lt;queue&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-QueueStatus"><strong>QueueStatus</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;complex&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;queue&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="CoreActions-Queues"><strong>Queues</strong></a> = <a href="#CoreActions-QueueStatus">QueueStatus</a>(self)</dt></dl>

<dl><dt><a name="CoreActions-Redirect"><strong>Redirect</strong></a>(self, channel, context, extension<font color="#909090">='s'</font>, priority<font color="#909090">=1</font>, channel2<font color="#909090">=None</font>)</dt><dd><tt>Redirect&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;priority&gt;&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;,<br>
optionally&nbsp;bridging&nbsp;with&nbsp;&lt;channel2&gt;</tt></dd></dl>

<dl><dt><a name="CoreActions-SetCDRUserField"><strong>SetCDRUserField</strong></a>(self, channel, data, append<font color="#909090">=False</font>)</dt><dd><tt>Append&nbsp;or&nbsp;replace&nbsp;&lt;channel&gt;'s&nbsp;CDR&nbsp;user&nbsp;field&nbsp;with&nbsp;&lt;data&gt;'.</tt></dd></dl>

<dl><dt><a name="CoreActions-Setvar"><strong>Setvar</strong></a>(self, channel, variable, value)</dt><dd><tt>Set&nbsp;&lt;variable&gt;&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;value&gt;.</tt></dd></dl>

<dl><dt><a name="CoreActions-Status"><strong>Status</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;of&nbsp;channel&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="CoreActions-StopMonitor"><strong>StopMonitor</strong></a>(self, channel)</dt><dd><tt>Stop&nbsp;monitoring&nbsp;of&nbsp;&lt;channel&gt;.</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'CoreActions' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="CoreManager">class <strong>CoreManager</strong></a>(<a href="Asterisk.Manager.html#BaseManager">BaseManager</a>, <a href="Asterisk.Manager.html#CoreActions">CoreActions</a>, <a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Asterisk&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;protocol&nbsp;implementation&nbsp;and&nbsp;core&nbsp;actions,&nbsp;but&nbsp;without<br>
event&nbsp;handlers.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#CoreManager">CoreManager</a></dd>
<dd><a href="Asterisk.Manager.html#BaseManager">BaseManager</a></dd>
<dd><a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a></dd>
<dd><a href="Asterisk.Manager.html#CoreActions">CoreActions</a></dd>
<dd><a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.Manager.html#BaseManager">BaseManager</a>:<br>
<dl><dt><a name="CoreManager-__init__"><strong>__init__</strong></a>(self, address, username, secret, listen_events<font color="#909090">=True</font>)</dt><dd><tt>Provide&nbsp;communication&nbsp;methods&nbsp;for&nbsp;the&nbsp;PBX&nbsp;instance&nbsp;running&nbsp;at<br>
&lt;address&gt;.&nbsp;Authenticate&nbsp;using&nbsp;&lt;username&gt;&nbsp;and&nbsp;&lt;secret&gt;.&nbsp;Receive&nbsp;event<br>
information&nbsp;from&nbsp;the&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;if&nbsp;&lt;listen_events&gt;&nbsp;is&nbsp;True.</tt></dd></dl>

<dl><dt><a name="CoreManager-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;string&nbsp;representation&nbsp;of&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>

<dl><dt><a name="CoreManager-close"><strong>close</strong></a>(self)</dt><dd><tt>Log&nbsp;off&nbsp;and&nbsp;close&nbsp;the&nbsp;connection&nbsp;to&nbsp;the&nbsp;PBX.</tt></dd></dl>

<dl><dt><a name="CoreManager-get_channel"><strong>get_channel</strong></a>(self, channel_id)</dt><dd><tt>Return&nbsp;a&nbsp;channel&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;for&nbsp;the&nbsp;given&nbsp;&lt;channel_id&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-on_Event"><strong>on_Event</strong></a>(self, event)</dt><dd><tt>Triggered&nbsp;when&nbsp;an&nbsp;event&nbsp;is&nbsp;received&nbsp;from&nbsp;the&nbsp;<a href="#Manager">Manager</a>.</tt></dd></dl>

<dl><dt><a name="CoreManager-read"><strong>read</strong></a>(self)</dt><dd><tt>Called&nbsp;by&nbsp;the&nbsp;parent&nbsp;code&nbsp;when&nbsp;activity&nbsp;is&nbsp;detected&nbsp;on&nbsp;our&nbsp;fd.</tt></dd></dl>

<dl><dt><a name="CoreManager-read_response"><strong>read_response</strong></a>(self, id)</dt><dd><tt>Return&nbsp;the&nbsp;response&nbsp;packet&nbsp;found&nbsp;for&nbsp;the&nbsp;given&nbsp;action&nbsp;&lt;id&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-responses_waiting"><strong>responses_waiting</strong></a>(self)</dt><dd><tt>Return&nbsp;truth&nbsp;if&nbsp;there&nbsp;are&nbsp;unprocessed&nbsp;buffered&nbsp;responses.</tt></dd></dl>

<dl><dt><a name="CoreManager-serve_forever"><strong>serve_forever</strong></a>(self)</dt><dd><tt>Handle&nbsp;one&nbsp;event&nbsp;at&nbsp;a&nbsp;time&nbsp;until&nbsp;doomsday.</tt></dd></dl>

<dl><dt><a name="CoreManager-strip_evinfo"><strong>strip_evinfo</strong></a>(self, event)</dt><dd><tt>Given&nbsp;an&nbsp;event,&nbsp;remove&nbsp;it's&nbsp;ActionID&nbsp;and&nbsp;Event&nbsp;members.</tt></dd></dl>

<hr>
Methods inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><a name="CoreManager-getLogger"><strong>getLogger</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;Logger&nbsp;instance&nbsp;which&nbsp;receives&nbsp;debug&nbsp;messages&nbsp;for&nbsp;this&nbsp;class<br>
instance.</tt></dd></dl>

<dl><dt><a name="CoreManager-getLoggerName"><strong>getLoggerName</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;name&nbsp;where&nbsp;log&nbsp;messages&nbsp;for&nbsp;this&nbsp;instance&nbsp;is&nbsp;sent.</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'InstanceLogger' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

<hr>
Methods inherited from <a href="Asterisk.Manager.html#CoreActions">CoreActions</a>:<br>
<dl><dt><a name="CoreManager-AbsoluteTimeout"><strong>AbsoluteTimeout</strong></a>(self, channel, timeout)</dt><dd><tt>Set&nbsp;the&nbsp;absolute&nbsp;timeout&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;timeout&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-ChangeMonitor"><strong>ChangeMonitor</strong></a>(self, channel, pathname)</dt><dd><tt>Change&nbsp;the&nbsp;monitor&nbsp;filename&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;pathname&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-Command"><strong>Command</strong></a>(self, command)</dt><dd><tt>Execute&nbsp;console&nbsp;command&nbsp;&lt;command&gt;&nbsp;and&nbsp;return&nbsp;its&nbsp;output&nbsp;lines.</tt></dd></dl>

<dl><dt><a name="CoreManager-Events"><strong>Events</strong></a>(self, categories)</dt><dd><tt>Filter&nbsp;received&nbsp;events&nbsp;to&nbsp;only&nbsp;those&nbsp;in&nbsp;the&nbsp;list&nbsp;&lt;categories&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-ExtensionState"><strong>ExtensionState</strong></a>(self, context, extension)</dt><dd><tt>Return&nbsp;the&nbsp;state&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-Getvar"><strong>Getvar</strong></a>(self, channel, variable, default<font color="#909090">=&lt;Asterisk.Util.Unspecified&gt;</font>)</dt><dd><tt>Return&nbsp;the&nbsp;value&nbsp;of&nbsp;&lt;channel&gt;'s&nbsp;&lt;variable&gt;,&nbsp;or&nbsp;&lt;default&gt;&nbsp;if&nbsp;&lt;variable&gt;<br>
is&nbsp;not&nbsp;set.</tt></dd></dl>

<dl><dt><a name="CoreManager-Hangup"><strong>Hangup</strong></a>(self, channel)</dt><dd><tt>Hangup&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-ListCommands"><strong>ListCommands</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;dict&nbsp;of&nbsp;all&nbsp;available&nbsp;&lt;action&gt;&nbsp;=&gt;&nbsp;&lt;desc&gt;&nbsp;items.</tt></dd></dl>

<dl><dt><a name="CoreManager-Logoff"><strong>Logoff</strong></a>(self)</dt><dd><tt>Close&nbsp;the&nbsp;connection&nbsp;to&nbsp;the&nbsp;PBX.</tt></dd></dl>

<dl><dt><a name="CoreManager-MailboxCount"><strong>MailboxCount</strong></a>(self, mailbox)</dt><dd><tt>Return&nbsp;a&nbsp;(&lt;new_msgs&gt;,&nbsp;&lt;old_msgs&gt;)&nbsp;tuple&nbsp;for&nbsp;the&nbsp;given&nbsp;&lt;mailbox&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-MailboxStatus"><strong>MailboxStatus</strong></a>(self, mailbox)</dt><dd><tt>Return&nbsp;the&nbsp;number&nbsp;of&nbsp;messages&nbsp;in&nbsp;&lt;mailbox&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-Monitor"><strong>Monitor</strong></a>(self, channel, pathname, format, mix)</dt><dd><tt>Begin&nbsp;monitoring&nbsp;of&nbsp;&lt;channel&gt;&nbsp;into&nbsp;&lt;pathname&gt;&nbsp;using&nbsp;&lt;format&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-Originate"><strong>Originate</strong></a>(self, channel, context<font color="#909090">=None</font>, extension<font color="#909090">=None</font>, priority<font color="#909090">=None</font>, application<font color="#909090">=None</font>, data<font color="#909090">=None</font>, timeout<font color="#909090">=None</font>, caller_id<font color="#909090">=None</font>, variable<font color="#909090">=None</font>, account<font color="#909090">=None</font>, async<font color="#909090">=None</font>)</dt><dd><tt><a href="#CoreManager-Originate">Originate</a>(channel,&nbsp;context&nbsp;=&nbsp;..,&nbsp;extension&nbsp;=&nbsp;..,&nbsp;priority&nbsp;=&nbsp;..[,&nbsp;...])<br>
<a href="#CoreManager-Originate">Originate</a>(channel,&nbsp;application&nbsp;=&nbsp;..[,&nbsp;data&nbsp;=&nbsp;..[,&nbsp;...]])<br>
&nbsp;<br>
Originate&nbsp;a&nbsp;call&nbsp;on&nbsp;&lt;channel&gt;,&nbsp;bridging&nbsp;it&nbsp;to&nbsp;the&nbsp;specified&nbsp;dialplan<br>
extension&nbsp;(format&nbsp;1)&nbsp;or&nbsp;application&nbsp;(format&nbsp;2).<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;context&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dialplan&nbsp;context&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;extension&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context&nbsp;extension&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context&nbsp;priority&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;application&gt;&nbsp;&nbsp;&nbsp;Application&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;data&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application&nbsp;parameters.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;timeout&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer&nbsp;timeout&nbsp;for&nbsp;&lt;channel&gt;&nbsp;in&nbsp;milliseconds.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;caller_id&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Outgoing&nbsp;channel&nbsp;Caller&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;channel&nbsp;variable&nbsp;to&nbsp;set&nbsp;(K=V[|K2=V2[|..]]).<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;account&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDR&nbsp;account&nbsp;code.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;async&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return&nbsp;successfully&nbsp;immediately.</tt></dd></dl>

<dl><dt><a name="CoreManager-Originate2"><strong>Originate2</strong></a>(self, channel, parameters)</dt><dd><tt>Originate&nbsp;a&nbsp;call,&nbsp;using&nbsp;parameters&nbsp;in&nbsp;the&nbsp;mapping&nbsp;&lt;parameters&gt;.<br>
Provided&nbsp;for&nbsp;compatibility&nbsp;with&nbsp;RPC&nbsp;bridges&nbsp;that&nbsp;do&nbsp;not&nbsp;support&nbsp;keyword<br>
arguments.</tt></dd></dl>

<dl><dt><a name="CoreManager-ParkedCalls"><strong>ParkedCalls</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;currently&nbsp;parked&nbsp;calls.</tt></dd></dl>

<dl><dt><a name="CoreManager-Ping"><strong>Ping</strong></a>(self)</dt><dd><tt>No-op&nbsp;to&nbsp;ensure&nbsp;the&nbsp;PBX&nbsp;is&nbsp;still&nbsp;there&nbsp;and&nbsp;keep&nbsp;the&nbsp;connection&nbsp;alive.</tt></dd></dl>

<dl><dt><a name="CoreManager-QueueAdd"><strong>QueueAdd</strong></a>(self, queue, interface, penalty<font color="#909090">=0</font>)</dt><dd><tt>Add&nbsp;&lt;interface&gt;&nbsp;to&nbsp;&lt;queue&gt;&nbsp;with&nbsp;optional&nbsp;&lt;penalty&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-QueueRemove"><strong>QueueRemove</strong></a>(self, queue, interface)</dt><dd><tt>Remove&nbsp;&lt;interface&gt;&nbsp;from&nbsp;&lt;queue&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-QueueStatus"><strong>QueueStatus</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;complex&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;queue&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="CoreManager-Queues"><strong>Queues</strong></a> = QueueStatus(self)</dt><dd><tt>Return&nbsp;a&nbsp;complex&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;queue&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="CoreManager-Redirect"><strong>Redirect</strong></a>(self, channel, context, extension<font color="#909090">='s'</font>, priority<font color="#909090">=1</font>, channel2<font color="#909090">=None</font>)</dt><dd><tt>Redirect&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;priority&gt;&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;,<br>
optionally&nbsp;bridging&nbsp;with&nbsp;&lt;channel2&gt;</tt></dd></dl>

<dl><dt><a name="CoreManager-SetCDRUserField"><strong>SetCDRUserField</strong></a>(self, channel, data, append<font color="#909090">=False</font>)</dt><dd><tt>Append&nbsp;or&nbsp;replace&nbsp;&lt;channel&gt;'s&nbsp;CDR&nbsp;user&nbsp;field&nbsp;with&nbsp;&lt;data&gt;'.</tt></dd></dl>

<dl><dt><a name="CoreManager-Setvar"><strong>Setvar</strong></a>(self, channel, variable, value)</dt><dd><tt>Set&nbsp;&lt;variable&gt;&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;value&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-Status"><strong>Status</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;of&nbsp;channel&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="CoreManager-StopMonitor"><strong>StopMonitor</strong></a>(self, channel)</dt><dd><tt>Stop&nbsp;monitoring&nbsp;of&nbsp;&lt;channel&gt;.</tt></dd></dl>

<hr>
Methods inherited from <a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a>:<br>
<dl><dt><a name="CoreManager-ZapDNDoff"><strong>ZapDNDoff</strong></a>(self, channel)</dt><dd><tt>Disable&nbsp;DND&nbsp;status&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-ZapDNDon"><strong>ZapDNDon</strong></a>(self, channel)</dt><dd><tt>Enable&nbsp;DND&nbsp;status&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-ZapDialOffhook"><strong>ZapDialOffhook</strong></a>(self, channel, number)</dt><dd><tt>Off-hook&nbsp;dial&nbsp;&lt;number&gt;&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-ZapHangup"><strong>ZapHangup</strong></a>(self, channel)</dt><dd><tt>Hangup&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="CoreManager-ZapShowChannels"><strong>ZapShowChannels</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;of&nbsp;Zapata&nbsp;driver&nbsp;channel&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="CoreManager-ZapTransfer"><strong>ZapTransfer</strong></a>(self, channel)</dt><dd><tt>Transfer&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="GoneAwayError">class <strong>GoneAwayError</strong></a>(<a href="Asterisk.Manager.html#BaseException">BaseException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>This&nbsp;exception&nbsp;is&nbsp;raised&nbsp;when&nbsp;the&nbsp;<a href="#Manager">Manager</a>&nbsp;connection&nbsp;becomes&nbsp;closed.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#GoneAwayError">GoneAwayError</a></dd>
<dd><a href="Asterisk.Manager.html#BaseException">BaseException</a></dd>
<dd><a href="Asterisk.html#BaseException">Asterisk.BaseException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.html#BaseException">Asterisk.BaseException</a>:<br>
<dl><dt><a name="GoneAwayError-__init__"><strong>__init__</strong></a>(self, error)</dt></dl>

<dl><dt><a name="GoneAwayError-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="GoneAwayError-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="InternalError">class <strong>InternalError</strong></a>(<a href="Asterisk.Manager.html#BaseException">BaseException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>This&nbsp;exception&nbsp;is&nbsp;raised&nbsp;when&nbsp;an&nbsp;error&nbsp;occurs&nbsp;within&nbsp;a&nbsp;<a href="#Manager">Manager</a>&nbsp;<a href="__builtin__.html#object">object</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#InternalError">InternalError</a></dd>
<dd><a href="Asterisk.Manager.html#BaseException">BaseException</a></dd>
<dd><a href="Asterisk.html#BaseException">Asterisk.BaseException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.html#BaseException">Asterisk.BaseException</a>:<br>
<dl><dt><a name="InternalError-__init__"><strong>__init__</strong></a>(self, error)</dt></dl>

<dl><dt><a name="InternalError-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="InternalError-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Manager">class <strong>Manager</strong></a>(<a href="Asterisk.Manager.html#BaseManager">BaseManager</a>, <a href="Asterisk.Manager.html#CoreActions">CoreActions</a>, <a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Asterisk&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;protocol&nbsp;implementation,&nbsp;core&nbsp;event&nbsp;handler<br>
placeholders,&nbsp;and&nbsp;core&nbsp;actions.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#Manager">Manager</a></dd>
<dd><a href="Asterisk.Manager.html#BaseManager">BaseManager</a></dd>
<dd><a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a></dd>
<dd><a href="Asterisk.Manager.html#CoreActions">CoreActions</a></dd>
<dd><a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.Manager.html#BaseManager">BaseManager</a>:<br>
<dl><dt><a name="Manager-__init__"><strong>__init__</strong></a>(self, address, username, secret, listen_events<font color="#909090">=True</font>)</dt><dd><tt>Provide&nbsp;communication&nbsp;methods&nbsp;for&nbsp;the&nbsp;PBX&nbsp;instance&nbsp;running&nbsp;at<br>
&lt;address&gt;.&nbsp;Authenticate&nbsp;using&nbsp;&lt;username&gt;&nbsp;and&nbsp;&lt;secret&gt;.&nbsp;Receive&nbsp;event<br>
information&nbsp;from&nbsp;the&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;if&nbsp;&lt;listen_events&gt;&nbsp;is&nbsp;True.</tt></dd></dl>

<dl><dt><a name="Manager-__repr__"><strong>__repr__</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;string&nbsp;representation&nbsp;of&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>

<dl><dt><a name="Manager-close"><strong>close</strong></a>(self)</dt><dd><tt>Log&nbsp;off&nbsp;and&nbsp;close&nbsp;the&nbsp;connection&nbsp;to&nbsp;the&nbsp;PBX.</tt></dd></dl>

<dl><dt><a name="Manager-get_channel"><strong>get_channel</strong></a>(self, channel_id)</dt><dd><tt>Return&nbsp;a&nbsp;channel&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;for&nbsp;the&nbsp;given&nbsp;&lt;channel_id&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-on_Event"><strong>on_Event</strong></a>(self, event)</dt><dd><tt>Triggered&nbsp;when&nbsp;an&nbsp;event&nbsp;is&nbsp;received&nbsp;from&nbsp;the&nbsp;<a href="#Manager">Manager</a>.</tt></dd></dl>

<dl><dt><a name="Manager-read"><strong>read</strong></a>(self)</dt><dd><tt>Called&nbsp;by&nbsp;the&nbsp;parent&nbsp;code&nbsp;when&nbsp;activity&nbsp;is&nbsp;detected&nbsp;on&nbsp;our&nbsp;fd.</tt></dd></dl>

<dl><dt><a name="Manager-read_response"><strong>read_response</strong></a>(self, id)</dt><dd><tt>Return&nbsp;the&nbsp;response&nbsp;packet&nbsp;found&nbsp;for&nbsp;the&nbsp;given&nbsp;action&nbsp;&lt;id&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-responses_waiting"><strong>responses_waiting</strong></a>(self)</dt><dd><tt>Return&nbsp;truth&nbsp;if&nbsp;there&nbsp;are&nbsp;unprocessed&nbsp;buffered&nbsp;responses.</tt></dd></dl>

<dl><dt><a name="Manager-serve_forever"><strong>serve_forever</strong></a>(self)</dt><dd><tt>Handle&nbsp;one&nbsp;event&nbsp;at&nbsp;a&nbsp;time&nbsp;until&nbsp;doomsday.</tt></dd></dl>

<dl><dt><a name="Manager-strip_evinfo"><strong>strip_evinfo</strong></a>(self, event)</dt><dd><tt>Given&nbsp;an&nbsp;event,&nbsp;remove&nbsp;it's&nbsp;ActionID&nbsp;and&nbsp;Event&nbsp;members.</tt></dd></dl>

<hr>
Methods inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><a name="Manager-getLogger"><strong>getLogger</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;Logger&nbsp;instance&nbsp;which&nbsp;receives&nbsp;debug&nbsp;messages&nbsp;for&nbsp;this&nbsp;class<br>
instance.</tt></dd></dl>

<dl><dt><a name="Manager-getLoggerName"><strong>getLoggerName</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;name&nbsp;where&nbsp;log&nbsp;messages&nbsp;for&nbsp;this&nbsp;instance&nbsp;is&nbsp;sent.</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'InstanceLogger' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

<hr>
Methods inherited from <a href="Asterisk.Manager.html#CoreActions">CoreActions</a>:<br>
<dl><dt><a name="Manager-AbsoluteTimeout"><strong>AbsoluteTimeout</strong></a>(self, channel, timeout)</dt><dd><tt>Set&nbsp;the&nbsp;absolute&nbsp;timeout&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;timeout&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-ChangeMonitor"><strong>ChangeMonitor</strong></a>(self, channel, pathname)</dt><dd><tt>Change&nbsp;the&nbsp;monitor&nbsp;filename&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;pathname&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-Command"><strong>Command</strong></a>(self, command)</dt><dd><tt>Execute&nbsp;console&nbsp;command&nbsp;&lt;command&gt;&nbsp;and&nbsp;return&nbsp;its&nbsp;output&nbsp;lines.</tt></dd></dl>

<dl><dt><a name="Manager-Events"><strong>Events</strong></a>(self, categories)</dt><dd><tt>Filter&nbsp;received&nbsp;events&nbsp;to&nbsp;only&nbsp;those&nbsp;in&nbsp;the&nbsp;list&nbsp;&lt;categories&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-ExtensionState"><strong>ExtensionState</strong></a>(self, context, extension)</dt><dd><tt>Return&nbsp;the&nbsp;state&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-Getvar"><strong>Getvar</strong></a>(self, channel, variable, default<font color="#909090">=&lt;Asterisk.Util.Unspecified&gt;</font>)</dt><dd><tt>Return&nbsp;the&nbsp;value&nbsp;of&nbsp;&lt;channel&gt;'s&nbsp;&lt;variable&gt;,&nbsp;or&nbsp;&lt;default&gt;&nbsp;if&nbsp;&lt;variable&gt;<br>
is&nbsp;not&nbsp;set.</tt></dd></dl>

<dl><dt><a name="Manager-Hangup"><strong>Hangup</strong></a>(self, channel)</dt><dd><tt>Hangup&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-ListCommands"><strong>ListCommands</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;dict&nbsp;of&nbsp;all&nbsp;available&nbsp;&lt;action&gt;&nbsp;=&gt;&nbsp;&lt;desc&gt;&nbsp;items.</tt></dd></dl>

<dl><dt><a name="Manager-Logoff"><strong>Logoff</strong></a>(self)</dt><dd><tt>Close&nbsp;the&nbsp;connection&nbsp;to&nbsp;the&nbsp;PBX.</tt></dd></dl>

<dl><dt><a name="Manager-MailboxCount"><strong>MailboxCount</strong></a>(self, mailbox)</dt><dd><tt>Return&nbsp;a&nbsp;(&lt;new_msgs&gt;,&nbsp;&lt;old_msgs&gt;)&nbsp;tuple&nbsp;for&nbsp;the&nbsp;given&nbsp;&lt;mailbox&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-MailboxStatus"><strong>MailboxStatus</strong></a>(self, mailbox)</dt><dd><tt>Return&nbsp;the&nbsp;number&nbsp;of&nbsp;messages&nbsp;in&nbsp;&lt;mailbox&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-Monitor"><strong>Monitor</strong></a>(self, channel, pathname, format, mix)</dt><dd><tt>Begin&nbsp;monitoring&nbsp;of&nbsp;&lt;channel&gt;&nbsp;into&nbsp;&lt;pathname&gt;&nbsp;using&nbsp;&lt;format&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-Originate"><strong>Originate</strong></a>(self, channel, context<font color="#909090">=None</font>, extension<font color="#909090">=None</font>, priority<font color="#909090">=None</font>, application<font color="#909090">=None</font>, data<font color="#909090">=None</font>, timeout<font color="#909090">=None</font>, caller_id<font color="#909090">=None</font>, variable<font color="#909090">=None</font>, account<font color="#909090">=None</font>, async<font color="#909090">=None</font>)</dt><dd><tt><a href="#Manager-Originate">Originate</a>(channel,&nbsp;context&nbsp;=&nbsp;..,&nbsp;extension&nbsp;=&nbsp;..,&nbsp;priority&nbsp;=&nbsp;..[,&nbsp;...])<br>
<a href="#Manager-Originate">Originate</a>(channel,&nbsp;application&nbsp;=&nbsp;..[,&nbsp;data&nbsp;=&nbsp;..[,&nbsp;...]])<br>
&nbsp;<br>
Originate&nbsp;a&nbsp;call&nbsp;on&nbsp;&lt;channel&gt;,&nbsp;bridging&nbsp;it&nbsp;to&nbsp;the&nbsp;specified&nbsp;dialplan<br>
extension&nbsp;(format&nbsp;1)&nbsp;or&nbsp;application&nbsp;(format&nbsp;2).<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;context&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Dialplan&nbsp;context&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;extension&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context&nbsp;extension&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;priority&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Context&nbsp;priority&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;application&gt;&nbsp;&nbsp;&nbsp;Application&nbsp;to&nbsp;bridge&nbsp;with.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;data&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Application&nbsp;parameters.<br>
&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;timeout&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Answer&nbsp;timeout&nbsp;for&nbsp;&lt;channel&gt;&nbsp;in&nbsp;milliseconds.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;caller_id&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Outgoing&nbsp;channel&nbsp;Caller&nbsp;ID.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;variable&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;channel&nbsp;variable&nbsp;to&nbsp;set&nbsp;(K=V[|K2=V2[|..]]).<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;account&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CDR&nbsp;account&nbsp;code.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;async&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return&nbsp;successfully&nbsp;immediately.</tt></dd></dl>

<dl><dt><a name="Manager-Originate2"><strong>Originate2</strong></a>(self, channel, parameters)</dt><dd><tt>Originate&nbsp;a&nbsp;call,&nbsp;using&nbsp;parameters&nbsp;in&nbsp;the&nbsp;mapping&nbsp;&lt;parameters&gt;.<br>
Provided&nbsp;for&nbsp;compatibility&nbsp;with&nbsp;RPC&nbsp;bridges&nbsp;that&nbsp;do&nbsp;not&nbsp;support&nbsp;keyword<br>
arguments.</tt></dd></dl>

<dl><dt><a name="Manager-ParkedCalls"><strong>ParkedCalls</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;currently&nbsp;parked&nbsp;calls.</tt></dd></dl>

<dl><dt><a name="Manager-Ping"><strong>Ping</strong></a>(self)</dt><dd><tt>No-op&nbsp;to&nbsp;ensure&nbsp;the&nbsp;PBX&nbsp;is&nbsp;still&nbsp;there&nbsp;and&nbsp;keep&nbsp;the&nbsp;connection&nbsp;alive.</tt></dd></dl>

<dl><dt><a name="Manager-QueueAdd"><strong>QueueAdd</strong></a>(self, queue, interface, penalty<font color="#909090">=0</font>)</dt><dd><tt>Add&nbsp;&lt;interface&gt;&nbsp;to&nbsp;&lt;queue&gt;&nbsp;with&nbsp;optional&nbsp;&lt;penalty&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-QueueRemove"><strong>QueueRemove</strong></a>(self, queue, interface)</dt><dd><tt>Remove&nbsp;&lt;interface&gt;&nbsp;from&nbsp;&lt;queue&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-QueueStatus"><strong>QueueStatus</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;complex&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;queue&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="Manager-Queues"><strong>Queues</strong></a> = QueueStatus(self)</dt><dd><tt>Return&nbsp;a&nbsp;complex&nbsp;nested&nbsp;dict&nbsp;describing&nbsp;queue&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="Manager-Redirect"><strong>Redirect</strong></a>(self, channel, context, extension<font color="#909090">='s'</font>, priority<font color="#909090">=1</font>, channel2<font color="#909090">=None</font>)</dt><dd><tt>Redirect&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;priority&gt;&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;,<br>
optionally&nbsp;bridging&nbsp;with&nbsp;&lt;channel2&gt;</tt></dd></dl>

<dl><dt><a name="Manager-SetCDRUserField"><strong>SetCDRUserField</strong></a>(self, channel, data, append<font color="#909090">=False</font>)</dt><dd><tt>Append&nbsp;or&nbsp;replace&nbsp;&lt;channel&gt;'s&nbsp;CDR&nbsp;user&nbsp;field&nbsp;with&nbsp;&lt;data&gt;'.</tt></dd></dl>

<dl><dt><a name="Manager-Setvar"><strong>Setvar</strong></a>(self, channel, variable, value)</dt><dd><tt>Set&nbsp;&lt;variable&gt;&nbsp;of&nbsp;&lt;channel&gt;&nbsp;to&nbsp;&lt;value&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-Status"><strong>Status</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;of&nbsp;channel&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="Manager-StopMonitor"><strong>StopMonitor</strong></a>(self, channel)</dt><dd><tt>Stop&nbsp;monitoring&nbsp;of&nbsp;&lt;channel&gt;.</tt></dd></dl>

<hr>
Methods inherited from <a href="Asterisk.Manager.html#ZapataActions">ZapataActions</a>:<br>
<dl><dt><a name="Manager-ZapDNDoff"><strong>ZapDNDoff</strong></a>(self, channel)</dt><dd><tt>Disable&nbsp;DND&nbsp;status&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-ZapDNDon"><strong>ZapDNDon</strong></a>(self, channel)</dt><dd><tt>Enable&nbsp;DND&nbsp;status&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-ZapDialOffhook"><strong>ZapDialOffhook</strong></a>(self, channel, number)</dt><dd><tt>Off-hook&nbsp;dial&nbsp;&lt;number&gt;&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-ZapHangup"><strong>ZapHangup</strong></a>(self, channel)</dt><dd><tt>Hangup&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="Manager-ZapShowChannels"><strong>ZapShowChannels</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;of&nbsp;Zapata&nbsp;driver&nbsp;channel&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="Manager-ZapTransfer"><strong>ZapTransfer</strong></a>(self, channel)</dt><dd><tt>Transfer&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="PermissionDenied">class <strong>PermissionDenied</strong></a>(<a href="Asterisk.Manager.html#BaseException">BaseException</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>This&nbsp;exception&nbsp;is&nbsp;raised&nbsp;when&nbsp;our&nbsp;connection&nbsp;is&nbsp;not&nbsp;permitted&nbsp;to&nbsp;perform&nbsp;a<br>
requested&nbsp;action.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#PermissionDenied">PermissionDenied</a></dd>
<dd><a href="Asterisk.Manager.html#BaseException">BaseException</a></dd>
<dd><a href="Asterisk.html#BaseException">Asterisk.BaseException</a></dd>
<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
</dl>
<hr>
Methods inherited from <a href="Asterisk.html#BaseException">Asterisk.BaseException</a>:<br>
<dl><dt><a name="PermissionDenied-__init__"><strong>__init__</strong></a>(self, error)</dt></dl>

<dl><dt><a name="PermissionDenied-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="PermissionDenied-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ZapChannel">class <strong>ZapChannel</strong></a>(<a href="Asterisk.Manager.html#BaseChannel">BaseChannel</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="Asterisk.Manager.html#ZapChannel">ZapChannel</a></dd>
<dd><a href="Asterisk.Manager.html#BaseChannel">BaseChannel</a></dd>
<dd><a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ZapChannel-ZapDNDoff"><strong>ZapDNDoff</strong></a>(self)</dt><dd><tt>Disable&nbsp;DND&nbsp;status&nbsp;on&nbsp;this&nbsp;Zapata&nbsp;driver&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-ZapDNDon"><strong>ZapDNDon</strong></a>(self)</dt><dd><tt>Enable&nbsp;DND&nbsp;status&nbsp;on&nbsp;this&nbsp;Zapata&nbsp;driver&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-ZapDialOffhook"><strong>ZapDialOffhook</strong></a>(self, number)</dt><dd><tt>Off-hook&nbsp;dial&nbsp;&lt;number&gt;&nbsp;on&nbsp;this&nbsp;Zapata&nbsp;driver&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-ZapHangup"><strong>ZapHangup</strong></a>(self)</dt><dd><tt>Hangup&nbsp;this&nbsp;Zapata&nbsp;driver&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-ZapTransfer"><strong>ZapTransfer</strong></a>(self)</dt><dd><tt>Transfer&nbsp;this&nbsp;Zapata&nbsp;driver&nbsp;channel.</tt></dd></dl>

<hr>
Methods inherited from <a href="Asterisk.Manager.html#BaseChannel">BaseChannel</a>:<br>
<dl><dt><a name="ZapChannel-AbsoluteTimeout"><strong>AbsoluteTimeout</strong></a>(self, timeout)</dt><dd><tt>Set&nbsp;the&nbsp;absolute&nbsp;timeout&nbsp;of&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;timeout&gt;.</tt></dd></dl>

<dl><dt><a name="ZapChannel-ChangeMonitor"><strong>ChangeMonitor</strong></a>(self, pathname)</dt><dd><tt>Change&nbsp;the&nbsp;monitor&nbsp;filename&nbsp;of&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;pathname&gt;.</tt></dd></dl>

<dl><dt><a name="ZapChannel-Getvar"><strong>Getvar</strong></a>(self, variable, default<font color="#909090">=&lt;Asterisk.Util.Unspecified&gt;</font>)</dt><dd><tt>Return&nbsp;the&nbsp;value&nbsp;of&nbsp;this&nbsp;channel's&nbsp;&lt;variable&gt;,&nbsp;or&nbsp;&lt;default&gt;&nbsp;if&nbsp;variable<br>
is&nbsp;not&nbsp;set.</tt></dd></dl>

<dl><dt><a name="ZapChannel-Hangup"><strong>Hangup</strong></a>(self)</dt><dd><tt>Hangup&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-Monitor"><strong>Monitor</strong></a>(self, pathname, format, mix)</dt><dd><tt>Begin&nbsp;monitoring&nbsp;of&nbsp;this&nbsp;channel&nbsp;into&nbsp;&lt;pathname&gt;&nbsp;using&nbsp;&lt;format&gt;.</tt></dd></dl>

<dl><dt><a name="ZapChannel-Redirect"><strong>Redirect</strong></a>(self, context, extension<font color="#909090">='s'</font>, priority<font color="#909090">=1</font>, channel2<font color="#909090">=None</font>)</dt><dd><tt>Redirect&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;priority&gt;&nbsp;of&nbsp;&lt;extension&gt;&nbsp;in&nbsp;&lt;context&gt;,<br>
optionally&nbsp;bridging&nbsp;with&nbsp;&lt;channel2&gt;.</tt></dd></dl>

<dl><dt><a name="ZapChannel-SetCDRUserField"><strong>SetCDRUserField</strong></a>(self, data, append<font color="#909090">=False</font>)</dt><dd><tt>Append&nbsp;or&nbsp;replace&nbsp;this&nbsp;channel's&nbsp;CDR&nbsp;user&nbsp;field&nbsp;with&nbsp;&lt;data&gt;.</tt></dd></dl>

<dl><dt><a name="ZapChannel-Setvar"><strong>Setvar</strong></a>(self, variable, value)</dt><dd><tt>Set&nbsp;the&nbsp;&lt;variable&gt;&nbsp;in&nbsp;this&nbsp;channel&nbsp;to&nbsp;&lt;value&gt;.</tt></dd></dl>

<dl><dt><a name="ZapChannel-Status"><strong>Status</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;<a href="#ZapChannel-Status">Status</a>()&nbsp;dict&nbsp;for&nbsp;this&nbsp;channel&nbsp;(wasteful!).</tt></dd></dl>

<dl><dt><a name="ZapChannel-StopMonitor"><strong>StopMonitor</strong></a>(self)</dt><dd><tt>Stop&nbsp;monitoring&nbsp;of&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-__eq__"><strong>__eq__</strong></a>(self, other)</dt><dd><tt>Return&nbsp;truth&nbsp;if&nbsp;&lt;other&gt;&nbsp;is&nbsp;equal&nbsp;to&nbsp;this&nbsp;<a href="__builtin__.html#object">object</a>.</tt></dd></dl>

<dl><dt><a name="ZapChannel-__getitem__"><strong>__getitem__</strong></a>(self, key)</dt><dd><tt>Fetch&nbsp;&lt;key&gt;&nbsp;as&nbsp;a&nbsp;variable&nbsp;from&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-__hash__"><strong>__hash__</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;hash&nbsp;value&nbsp;of&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-__init__"><strong>__init__</strong></a>(self, manager, id)</dt><dd><tt>Initialise&nbsp;a&nbsp;new&nbsp;Channel&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;belonging&nbsp;to&nbsp;&lt;id&gt;&nbsp;reachable&nbsp;via<br>
<a href="#BaseManager">BaseManager</a>&nbsp;&lt;manager&gt;.</tt></dd></dl>

<dl><dt><a name="ZapChannel-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>

<dl><dt><a name="ZapChannel-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt><dd><tt>Set&nbsp;&lt;key&gt;&nbsp;as&nbsp;a&nbsp;variable&nbsp;on&nbsp;this&nbsp;channel.</tt></dd></dl>

<dl><dt><a name="ZapChannel-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Methods inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><a name="ZapChannel-getLogger"><strong>getLogger</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;Logger&nbsp;instance&nbsp;which&nbsp;receives&nbsp;debug&nbsp;messages&nbsp;for&nbsp;this&nbsp;class<br>
instance.</tt></dd></dl>

<dl><dt><a name="ZapChannel-getLoggerName"><strong>getLoggerName</strong></a>(self)</dt><dd><tt>Return&nbsp;the&nbsp;name&nbsp;where&nbsp;log&nbsp;messages&nbsp;for&nbsp;this&nbsp;instance&nbsp;is&nbsp;sent.</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="Asterisk.Logging.html#InstanceLogger">Asterisk.Logging.InstanceLogger</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'InstanceLogger' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ZapataActions">class <strong>ZapataActions</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Provide&nbsp;methods&nbsp;for&nbsp;<a href="#Manager">Manager</a>&nbsp;API&nbsp;actions&nbsp;exposed&nbsp;by&nbsp;the&nbsp;Zapata&nbsp;driver.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="ZapataActions-ZapDNDoff"><strong>ZapDNDoff</strong></a>(self, channel)</dt><dd><tt>Disable&nbsp;DND&nbsp;status&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="ZapataActions-ZapDNDon"><strong>ZapDNDon</strong></a>(self, channel)</dt><dd><tt>Enable&nbsp;DND&nbsp;status&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="ZapataActions-ZapDialOffhook"><strong>ZapDialOffhook</strong></a>(self, channel, number)</dt><dd><tt>Off-hook&nbsp;dial&nbsp;&lt;number&gt;&nbsp;on&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="ZapataActions-ZapHangup"><strong>ZapHangup</strong></a>(self, channel)</dt><dd><tt>Hangup&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<dl><dt><a name="ZapataActions-ZapShowChannels"><strong>ZapShowChannels</strong></a>(self)</dt><dd><tt>Return&nbsp;a&nbsp;nested&nbsp;dict&nbsp;of&nbsp;Zapata&nbsp;driver&nbsp;channel&nbsp;statii.</tt></dd></dl>

<dl><dt><a name="ZapataActions-ZapTransfer"><strong>ZapTransfer</strong></a>(self, channel)</dt><dd><tt>Transfer&nbsp;Zapata&nbsp;driver&nbsp;&lt;channel&gt;.</tt></dd></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'ZapataActions' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>__author__</strong> = 'David M. Wilson &lt;dw-py-asterisk-Manager.py@botanicus.net&gt;'<br>
<strong>__id__</strong> = '$Id: Asterisk.Manager.html 95 2004-10-06 19:19:42Z dw $'</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">David&nbsp;M.&nbsp;Wilson&nbsp;&lt;dw-py-asterisk-Manager.py@botanicus.net&gt;</td></tr></table>
</body></html>